import request from "@/utils/request";

export function addData(data) {
  return request({
    url: '/claasAssign/addData',
    method: 'post',
    data: data
  })
}

export function addAssign(data) {
  return request({
    url: '/claasAssign/add',
    method: 'post',
    data: data
  })
}

export function assign(id) {
  return request({
    url: '/claasAssign/assign/23/' + id,
    method: 'put',
  })
}

export function assignNot() {
  return request({
    url: '/claasAssign/assignNot',
    method: 'put',
  })
}
